if [ $# == 1 ]; then
	echo -n "";
else
	echo "I-prepare I1|I2|I3"
	exit
fi


if [ $1 == "I1" ]; then
	rm -rf I1; mkdir I1; cd I1;
	ln -s ../Init/wta/reord.SP ./src.SP
	ln -s ../Init/wta/reord.parse ./src.parse
	ln -s ../Init/wta/reord.rinfo ./src.rinfo
	ln -s ../Init/tgt.SP .
	ln -s ../Init/wa-gold.ans .
fi

if [ $1 == "I1rand" ]; then
	rm -rf I1-rand; mkdir I1-rand; cd I1-rand;
	ln -s ../Init/wta-rand/reord.SP ./src.SP
	ln -s ../Init/wta-rand/reord.parse ./src.parse
	ln -s ../Init/wta-rand/reord.rinfo ./src.rinfo
	ln -s ../Init/tgt.SP .
	ln -s ../Init/wa-gold.ans .
fi

if [ $1 == "I2" ]; then
	mkdir I2; cd I2;
	ln -s ../I1/wta/reord.SP ./src.SP
	ln -s ../I1/wta/reord.rinfo ./src.rinfo
	ln -s ../Init/src.parse .
	ln -s ../Init/tgt.SP .
	ln -s ../I1/wa-gold.ans .
fi

if [ $1 == "I3" ]; then
	mkdir I3; cd I3;
	ln -s ../I2/wta/reord.SP ./src.SP
	ln -s ../I2/wta/reord.rinfo ./src.rinfo
	ln -s ../I1/src.parse .
	ln -s ../I1/tgt.SP .
	ln -s ../I1/wa-gold.ans .
fi

